class SyncCompany {
    String deadline;
    int id;
    String name;
    int rate1;
    int user_id;

    SyncCompany({this.deadline, this.id, this.name, this.rate1, this.user_id});

    factory SyncCompany.fromJson(Map<String, dynamic> json) {
        return SyncCompany(
            deadline: json['deadline'],
            id: json['id'],
            name: json['name'],
            rate1: json['rate1'],
            user_id: json['user_id'],
        );
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> data = new Map<String, dynamic>();
        data['deadline'] = this.deadline;
        data['id'] = this.id;
        data['name'] = this.name;
        data['rate1'] = this.rate1;
        data['user_id'] = this.user_id;
        return data;
    }
}